package TestsBuxfer;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;


/**
 * Created with IntelliJ IDEA.
 * User: C13T
 * Date: 12.07.13
 * Time: 19:23
 * To change this template use File | Settings | File Templates.
 */
public class Forecast {
    public WebDriver driver;
   // @Test


    public Forecast(WebDriver driver){
        this.driver = driver;
    }
    public Forecast ForecastPage(){
    WebElement TabForecast = driver.findElement(By.id("tab-forecast"));
    TabForecast.click();

        return new Forecast(driver);
    }

       public void CheckContent(){
       WebElement Field = driver.findElement(By.name("bill-desc-2"));
       Field.sendKeys("hkjhkghujg");
       WebElement TabForecast = driver.findElement(By.id("tab-forecast"));
      // Assert.assertEquals(TabForecast.getAttribute("class"),"tabTitle selected");
    }
}
